﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"
    Inherits="masterdata_WareHouse_From_Products_List" CodeFile="WareHouse_From_Products_List.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>仓库维护</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div>
        <table id="wsd_inputtable">
            <tr>
                <td class="tabletitle" width="100%">
                    仓库产品列表
                </td>
            </tr>
        </table>
        <table id="wsd_listtable" width="100%">
            <tr>
                <td style="width: 100%">
                    <asp:GridView Width="100%" ID="GridView1" runat="server" AutoGenerateColumns="False"
                        EmptyDataText="没有可显示的数据." EmptyDataRowStyle-Font-Bold="true" EmptyDataRowStyle-HorizontalAlign="Center"
                        OnRowDataBound="Grid_RowDataBound" EnableEmptyContentRender="true">
                        <HeaderStyle CssClass="titlist" />
                        <Columns>
                            <asp:TemplateField HeaderText="产品代码">
                                <ItemTemplate>
                                    <a href='WareHouse_From_Products_Detail.aspx?code=<%# Eval("ID") %>&ShipFrom=<%# Eval("SHIPFROMCODE") %>&productID=<%# Eval("ProductID") %>&productname=<%# Eval("ProductName") %>&domainid=<%# Eval("DOMAINID") %>'>
                                        <%# Eval("ID")%></a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="产品名称" DataField="ProductName" />
                            <asp:BoundField HeaderText="内部产品代码" DataField="INTERNALPRCODE" />
                            <asp:BoundField HeaderText="支价" DataField="PIECEPRICE" />
                            <asp:BoundField HeaderText="基本单位" DataField="UOMCODE" />
                            <asp:BoundField HeaderText="箱单价" DataField="CASEPRICE" />
                            <asp:BoundField HeaderText="库存.支" DataField="INVENTORY" />
                            <asp:BoundField HeaderText="显示序号" DataField="DISPLAYSEQUENCE" />
                            <asp:TemplateField HeaderText="有效" ItemStyle-HorizontalAlign="center" HeaderStyle-HorizontalAlign="center">
                                <ItemTemplate>
                                    <b>
                                        <%# (bool)Eval("IsValid") ? "<font size='3' color='green'>√</font>" : "<font size='3' color='red'>×</font>"%></b>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <RowStyle CssClass="evenline" />
                        <AlternatingRowStyle CssClass="oddline" />
                        <PagerSettings Visible="true" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
        <br />
        <table id="wsd_inputtable">
            <tr>
                <td width="100%" class="tabletitle">
                    操作选项
                </td>
            </tr>
            <tr>
                <td class="buttonarea">
                    <asp:Button ID="btnCancel" runat="server" class="wsd_button2" Text="返  回" CausesValidation="false"
                        OnClick="btnBack_Click" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
